package sysprovas.swing;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JTextArea;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JScrollBar;
import javax.swing.JButton;

public class PanelTopico extends JPanel {

	/**
	 * Create the panel.
	 */
	public PanelTopico() {
		setLayout(null);
		
		JLabel lblTopico = new JLabel("Topico");
		lblTopico.setFont(new Font("Tahoma", Font.PLAIN, 20));
		lblTopico.setBounds(246, 13, 72, 28);
		add(lblTopico);
		
		JLabel lblDescricaoTop = new JLabel("Descri\u00E7\u00E3o:");
		lblDescricaoTop.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblDescricaoTop.setBounds(105, 128, 72, 16);
		add(lblDescricaoTop);
		
		JLabel lblDificuldadeTop = new JLabel("Dificuldade:");
		lblDificuldadeTop.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblDificuldadeTop.setBounds(105, 195, 84, 16);
		add(lblDificuldadeTop);
		
		JComboBox cbDificuldadeTop = new JComboBox();
		cbDificuldadeTop.setModel(new DefaultComboBoxModel(new String[] {"1", "2", "3", "4", "5"}));
		cbDificuldadeTop.setBounds(185, 193, 41, 22);
		add(cbDificuldadeTop);
		
		JTextArea txtDescricaoTop = new JTextArea();
		txtDescricaoTop.setLineWrap(true);
		txtDescricaoTop.setBounds(189, 135, 293, 45);
		add(txtDescricaoTop);
		
		JButton btnSalvarTop = new JButton("Salvar");
		btnSalvarTop.setBounds(249, 289, 97, 25);
		add(btnSalvarTop);
		
		JLabel lblDisciplinaTop = new JLabel("Disciplina:");
		lblDisciplinaTop.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblDisciplinaTop.setBounds(105, 99, 72, 16);
		add(lblDisciplinaTop);
		
		JComboBox cbDisciplinaTop = new JComboBox();
		cbDisciplinaTop.setModel(new DefaultComboBoxModel(new String[] {"Redes I", "Redes II", "Sistemas Distribu\u00EDdos"}));
		cbDisciplinaTop.setBounds(185, 97, 297, 22);
		add(cbDisciplinaTop);

	}
}
